<!DOCTYPE html>
<html>
<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
    <title>111</title>
        <link rel="icon" href="{{ url_for('static',filename='favicon.ico') }}" >
		<link href="{{ url_for('static',filename='bootstrap.min.css') }}" rel="stylesheet">
		<link href="{{ url_for('static',filename='amaze.css') }}" rel="stylesheet" >
        <link href="{{ url_for('static',filename='style.css') }}" rel="stylesheet" >
        <style>
            .ti-widget,.ti-panel{
                font-style:normal;
            }
        </style>
        <script type="text/javascript" src="{{ url_for('static',filename='jquery-3.1.1.min.js') }}"></script>
        <script type="text/javascript" src="{{ url_for('static',filename='Chart.js') }}"></script>
        <script src="http://cdn.bootcss.com/jquery/1.11.0/jquery.min.js" ></script>
        <script src="{{ url_for('static',filename='jquery.table2excel.js') }}"></script>
</head>
<body>
{% for message in get_flashed_messages() %}
    <script rel="script">
        //弹出一个对话框
        alert("{{ message }}");
    </script>
{% endfor %}
    {% if current_user.is_authenticated %}
    <div>
    <a href="{{ url_for('logout') }}" class="btn btn-simple btn-info btn-icon like" data-toggle="dropdown">
                                    登出
                                </a>
    </div>
{% else %}
    <div>
        <a href="{{ url_for('login') }}">登录</a>
    </div>
    <div>
        <a href="{{ url_for('logging') }}">注册</a>
    </div>
{% endif %}
</body>
</html>
